package com.unnison.framework.client.place.event;

import com.google.gwt.event.shared.GwtEvent;

public class PlaceFowardEvent extends GwtEvent<PlaceFowardHandler> {

    private static Type<PlaceFowardHandler> type;

    public static Type<PlaceFowardHandler> getType() {
        return type != null ? type : (type = new Type<PlaceFowardHandler>());
    }

    public PlaceFowardEvent() {
    }

    @Override
    protected void dispatch(PlaceFowardHandler handler) {
        handler.onPlaceFoward(this);
    }

    @Override
    public Type<PlaceFowardHandler> getAssociatedType() {
        return getType();
    }
}
